package com.mengniu.commerce.sync.service;


import com.mengniu.commerce.common.core.domain.R;
import com.mengniu.commerce.sync.api.domain.MemberInsertModel;
import com.mengniu.commerce.sync.api.domain.MemberModifyModel;
import com.mengniu.commerce.sync.api.domain.MemberRegisterModel;
import com.mengniu.commerce.sync.api.dto.RetryDTO;

import java.util.List;

public interface MemberService {

    /**
     * 会员修改
     * @return
     */
    R memberModify(MemberModifyModel memberModifyModel, RetryDTO retryDTO);
    /**
     * 会员注册
     * @return
     */
    R memberRegister(MemberRegisterModel memberRegisterModel,  RetryDTO retryDTO, String userId);


    /**
     * 存量会员接入
     * @return
     */
    R memberInsert(List<MemberInsertModel> memberInsertModelList);
}
